﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpages/MasterPage.master" AutoEventWireup="true" CodeFile="MyAccount.aspx.cs" Inherits="MyShop_MyAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">

    <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="Please correct the following errors:" CssClass="messageBox error" meta:resourcekey="ValidationSummary1Resource1" />

<fieldset>                
        <legend><asp:Label ID="lblLoginInformation" runat="server" Text="Login Information"></asp:Label></legend>
        <ol>
            <li>
                <asp:Label ID="lblEmail" runat="server" Text="Email: <span>*</span>" AssociatedControlID="txtEmail"></asp:Label> <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                <em>
                    <asp:RequiredFieldValidator ID="RequiredEmailValidator" runat="server" ErrorMessage="Email is mandatory" ControlToValidate="txtEmail" Display="None" SetFocusOnError="true" meta:resourcekey="RequiredEmailValidatorResource1"></asp:RequiredFieldValidator>    
                    <asp:RegularExpressionValidator ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail" SetFocusOnError="true" ErrorMessage="Invalid Email Format" meta:resourcekey="regexEmailValidatorResource1"></asp:RegularExpressionValidator>
                </em>
            </li>        
            <li class="buttonBar">
                <asp:Button ID="SaveButton" Runat="server" Text="Retrieve password" OnClick="btnSubmit_Click" />
            </li>
        </ol>        
    </fieldset>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="RightContent" Runat="Server">
</asp:Content>

